From: Emmanuel Bourg Date: Thu, 24 Sep 2026 07:52:19 +0000 (+1200) Subject: Makes the generated character data classes reproducible (removes a timestamp and... X-Git-Tag: archive/raspbian/25.0.5_7ea-1+rpi1~27 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=683e7534b66c510916def69ea2c1187f45102f50;p=openjdk-25.git Makes the generated character data classes reproducible (removes a timestamp and trims a build path captured in the comments) Forwarded: no Gbp-Pq: Name reproducible-character-data.diff --- diff --git a/make/jdk/src/classes/build/tools/generatecharacter/GenerateCharacter.java b/make/jdk/src/classes/build/tools/generatecharacter/GenerateCharacter.java index a2f37db72..5b9418b79 100644 --- a/make/jdk/src/classes/build/tools/generatecharacter/GenerateCharacter.java +++ b/make/jdk/src/classes/build/tools/generatecharacter/GenerateCharacter.java @@ -1810,7 +1810,7 @@ OUTER: for (int i = 0; i < n; i += m) { } commentStart = (Csyntax ? "/*" : "//"); commentEnd = (Csyntax ? " */" : ""); - commandLineDescription = desc.toString().replace("\\", "\\\\"); + commandLineDescription = desc.toString().replace("\\", "\\\\").replace(System.getProperty("user.dir").replace("make/gensrc", ""), ""); } private static void searchBins(long[] map, int binsOccupied) throws Exception {